/*
 * categoriasMap.java
 *
 * Created on 22 de diciembre de 2005, 0:12
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package fmap.model;

/**
 *
 * @author javi
 */
public class GroupFile
{
    String name;
    int id;
    String extension;
    
    
    
    /** Creates a new instance of categoriasMap */
    public GroupFile ( int _id, String _name, String _extension )
    {
        id          =   _id;
        name        =   _name;
        extension   =   _extension;
    }
    
    public String getName ()
    {
        return name;
    }
    
    public int getId ()
    {
        return id;
    }
    
    
    public String getExtension ()
    {
        return extension;
    }

    
    public String[] getAExtension ()
    {
        return extension.split (",");
    }
    
    
    public String toString()
    {
        return name;
    }
    
}
